﻿<%@ Page Language="VB" MasterPageFile="~/Interfaz/MasterPage.master" AutoEventWireup="false" CodeFile="frmAdminRequisicion.aspx.vb" Inherits="Interfaz_frmAdminRequisicion" title="Untitled Page" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <center>
    <table style="border-right: lightblue thin solid; border-top: lightblue thin solid;
        border-left: lightblue thin solid; width: 933px; border-bottom: lightblue thin solid;
        background-color: white">
        <tr>
            <td style="width: 100%">
                <table style="width: 100%">
                    <tr>
                        <td colspan="7" style="width: 19%; text-align: center; background :black">
                            <strong>REQUISICION&nbsp;</strong></td>
                    </tr>
                    <tr>
                        <td style="width: 19%">
                            Fecha 
                        </td>
                        <td style="width: 1%">
                        </td>
                        <td colspan="1" style="width: 19%; height: 16px; text-align: left">
                                <asp:TextBox ID="TxtFecha" runat="server" Width="170px"></asp:TextBox></td>
                        <td style="font-weight: bold; width: 19%; height: 16px">
                        </td>
                        <td>
                        </td>
                        <td style="width: 20%">
                        </td>
                        <td style="width: 20%">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 19%">
                            Prioridad</td>
                        <td style="width: 1%">
                        </td>
                        <td colspan="1" style="width: 19%; height: 16px; text-align: left">
                                        <asp:CheckBox ID="CkProg3" runat="server" Width="152px" Text="Urgente  (1 - 2 Dias)" /></td>
                        <td style="font-weight: bold; width: 19%; height: 16px">
                                        <asp:CheckBox ID="CkProg" runat="server" Width="152px" Text="Normal  (1 Semana)" Font-Bold="False" /></td>
                        <td>
                        </td>
                        <td style="width: 20%">
                                        <asp:CheckBox ID="CkProg2" runat="server" Width="112px" Text="Programada" AutoPostBack="True" /></td>
                        <td style="width: 20%">
                            <asp:TextBox ID="TxTProgramada" runat="server" Width="136px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 19%">
                            Nota Requisicion</td>
                        <td style="width: 1%">
                            :</td>
                        <td colspan="5" style="width: 19%; height: 16px; text-align: left">
                            <asp:TextBox ID="TextBox2" runat="server" Height="40px" Width="600px" TextMode="MultiLine"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td colspan="8" style="width: 19%; text-align: center; background :black">
                            <strong>SECCION ITEM&nbsp;</strong></td>
                    </tr>
                    <tr>
                        <td colspan="8" style="width: 19%; text-align: left">
                            <strong>Buscar Material:</strong></td>
                    </tr>
                    <tr>
                        <td colspan="1" style="width: 19%; text-align: left">
                            <asp:CheckBox ID="CheckCodigo" runat="server" Text="Codigo" AutoPostBack="True" /></td>
                        <td colspan="1" style="width: 1%; text-align: left">
                            :</td>
                        <td colspan="1" style="width: 19%; text-align: left">
                            <asp:DropDownList ID="DropCodigoMateriales" runat="server" Width="170px">
                            </asp:DropDownList></td>
                        <td colspan="1" style="width: 20%; text-align: left">
                            <asp:CheckBox ID="CheckFamilia" runat="server" Text="Familia" AutoPostBack="True" /></td>
                        <td colspan="1" style="text-align: left">
                            :</td>
                        <td colspan="1" style="width: 20%; text-align: left">
                            <asp:DropDownList ID="DropFamilias" runat="server" Width="170px" AutoPostBack="True">
                            </asp:DropDownList></td>
                        <td colspan="1" style="width: 20%; text-align: left">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="DropFamilias"
                                ErrorMessage="Seleccione Familia" InitialValue="Seleccione Familia">*</asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td colspan="" style="width: 19%; text-align: left">
                            Proveedor</td>
                        <td colspan="" style="width: 1%; text-align: left">
                            </td>
                        <td colspan="" style="width: 19%; text-align: left">
                            <asp:DropDownList ID="DropProveedor" runat="server" Width="170px">
                            </asp:DropDownList></td>
                        <td colspan="" style="width: 20%; text-align: left">
                            <asp:Label ID="LblMaterial" runat="server" Text="Material"></asp:Label></td>
                        <td colspan="1" style="text-align: left">
                            <asp:Label ID="lblDosptosMaterial" runat="server" Text=":" Width="8px"></asp:Label></td>
                        <td colspan="" style="width: 20%; text-align: left">
                            <asp:DropDownList ID="DropMaterial" runat="server" Width="170px">
                            </asp:DropDownList></td>
                        <td colspan="" style="width: 20%; text-align: left">
                            </td>
                    </tr>
                    <tr>
                        <td colspan="1" style="width: 19%; text-align: left">
                            Unidad</td>
                        <td colspan="1" style="width: 1%; text-align: left">
                            :</td>
                        <td colspan="1" style="width: 19%; text-align: left">
                            <asp:TextBox ID="TxtUnidad" runat="server" Width="170px"></asp:TextBox></td>
                        <td colspan="1" style="width: 20%; text-align: left">
                            Precio Unitario</td>
                        <td colspan="1" style="text-align: left">
                            :</td>
                        <td colspan="1" style="width: 20%; text-align: left">
                            <asp:TextBox ID="TxtPrecioUnit" runat="server" Width="168px"></asp:TextBox></td>
                        <td colspan="1" style="width: 20%; text-align: left">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="1" style="width: 19%; text-align: left">
                            Cantidad</td>
                        <td colspan="1" style="width: 1%; text-align: left">
                            :</td>
                        <td colspan="1" style="width: 19%; text-align: left">
                            <asp:TextBox ID="TxtCantidad" runat="server" Width="170px"></asp:TextBox></td>
                        <td colspan="1" style="width: 20%; text-align: left">
                            UM</td>
                        <td colspan="1" style="text-align: left">
                            :</td>
                        <td colspan="1" style="width: 20%; text-align: left">
                            <asp:TextBox ID="TxtUM" runat="server" Width="168px"></asp:TextBox></td>
                        <td colspan="1" style="width: 20%; text-align: left">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="1" style="width: 19%; text-align: left">
                            Descripcion</td>
                        <td colspan="1" style="width: 1%; text-align: left">
                            :</td>
                        <td colspan="5" style="width: 19%; text-align: left">
                            <asp:TextBox ID="TxtDescripcion" runat="server" Height="48px" Width="600px" TextMode="MultiLine"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td colspan="8" style="width: 19%; text-align: center">
                <asp:Label ID="LabelAviso" runat="server" Width="512px"></asp:Label></td>
                    </tr>
                    <tr>
                        <td colspan="8" style="width: 19%; text-align: center">
    <asp:GridView ID="GridRequisicion" runat="server" AllowSorting="True" AutoGenerateColumns="False" CellPadding="4"
             ForeColor="#333333" GridLines="None"  Width="933px" CssClass="mGrid">
             <RowStyle BackColor="#EFF3FB" />
        <Columns>
            <asp:BoundField DataField="ITEM" HeaderText="Item">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="UNIDAD" HeaderText="Unidad">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="DETALLE" HeaderText="Detalle">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="CANTIDAD" HeaderText="Cantidad">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="PRECIOUNITARIO" HeaderText="Precio Unitario">
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="CODMATERIAL" HeaderText="Codigo Material" />
            <asp:BoundField DataField="PROVEEDOR" HeaderText="Proveedor" />
        </Columns>
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
                        </td>
                    </tr>
                </table>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
                                        <asp:Button ID="Button3" runat="server" Text="Limpiar" />
                                        <asp:Button ID="Button1" runat="server" Text="Ingresar" />
                <asp:Button ID="BtnValidar" runat="server" Text="Validar" /></td>
        </tr>
        <tr>
            <td>
            </td>
        </tr>
    </table>
    </center>
    <br />
</asp:Content>

